home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 05.zip
/
BS1 part 5
/
IM_Install3.adf
/
piarc.LZH
/
animwr4.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1992-04-09
|
1KB
|
51 lines
/*
This phase calls the delta generator with the -l switch
to generate the loop deltas
*/
/*
* open rexxsupport.library -- needed for some functions
*/
if ~show('L',"rexxsupport.library") then do
if addlib('rexxsupport.library',0,-30,0) then do
/* everything's ok */
end;
else do
say 'We Have A Library Problem, Unable To Load "rexxsupport.library"';
say 'Cannot operate animr.rexx without this library - sorry!';
exit 10;
end;
end;
prtnme = 'IP_Port'; /* assume Image Professional */
if show('P','IP_Port') = 0 then do
if show('P','IM_Port') = 0 then do
say "Can't find image processor's ARexx port!!!"; /* not running? */
say "This script requires IP, IM or IM F/c to run!";
exit(20);
end;
else do
prtnme = 'IM_Port'; /* That's the thing about assumptions... */
end; /* We make em, user's break em. */
end;
options;
address;
prevpath = 'ram:'; /* put user in ram to start with... */
call open(fhandle,'ram:IP_ANIMWR.CFG','read'); /* open the file */
jiffies = readln(fhandle);
animfile = readln(fhandle);
call close(fhandle); /* close the file */
address command 'cmpi:ANIMWR -l '||jiffies||' '||animfile;
address command 'delete >nil: ram:IP_ANIMWR.CFG';
address(prtnme);
'finish';
exit 0;